package com.tuanzi.loan.vo.view.mozhang;

import java.util.List;

import com.google.common.collect.Lists;

import lombok.Data;

@Data
public class MoZhang {

	private String update_date;

	private Person_info person_info;

	private Verification_info verification_info;

	private Register_info register_info;

	private Queried_detail queried_detail;

	private Black_info_detail black_info_detail;

	private Gray_info_detail gray_info_detail;

	private Suspicious_mobile suspicious_mobile;

	private Suspicious_idcard suspicious_idcard;

	private List<Mobile_infos> mobile_infos;

	private List<Fund_infos> fund_infos;

	private Debit_card_info debit_card_info;

	private Credit_card_info credit_card_info;

	/*
	 * 自定义属性
	 */
	private List<MultipleLoanOverdueAnalyseInfo> multipleLoanOverdueAnalyseInfos;

	public List<MultipleLoanOverdueAnalyseInfo> getMultipleLoanOverdueAnalyseInfos() {
		List<MultipleLoanOverdueAnalyseInfo> infos = Lists.newArrayList();

		if (black_info_detail != null && black_info_detail.getBlacklist_record() != null) {
			infos.add(black_info_detail.getBlacklist_record());
		}

		if (gray_info_detail != null && gray_info_detail.getGray_record() != null) {
			infos.add(gray_info_detail.getGray_record());
		}

		return infos;
	}
}